$(function(){
    $.check_cookie=function(){
        var code = $.cookie('useradmin__adminName')+$.cookie('admin__code');
        if(md5(code)==$.cookie('md5admin__code')){
            return true;
        }else{
            alert("请重新登录")
            window.location.href='login.html';            
        }
    }
    
    $.check_cookie();


})


